<template>
	<button @click="handleNavigate">跳转</button>
</template>

<script setup>
function handleNavigate() {
	const payLoad = {
		address: '天安门广场',
		location: '北京市东城区',
		lat: 39.908823,
		lon: 116.397470
	}
	
	uni.navigateTo({
		url: `/pages/staticMap/staticMap?address=${encodeURIComponent(payLoad.address)}&location=${encodeURIComponent(payLoad.location)}&lat=${payLoad.lat}&lon=${payLoad.lon}`
	});
}
</script>